//
// Created by Felix on 24-5-16.
//

#ifndef GAZE_CAMERAUPDATESTATUSDTO_HPP
#define GAZE_CAMERAUPDATESTATUSDTO_HPP

#include "oatpp/core/macro/codegen.hpp"
#include "oatpp/core/Types.hpp"

#include OATPP_CODEGEN_BEGIN(DTO)

class CameraUpdateStatusDto : public oatpp::DTO {

    DTO_INIT(CameraUpdateStatusDto, DTO)

    Int32 cameraId;

    DTO_FIELD_INFO(status) {
        info->description = "状态";
        info->required = true;
    } // Status
    DTO_FIELD(Int8, status);
};

#include OATPP_CODEGEN_END(DTO)

#endif //GAZE_CAMERAUPDATESTATUSDTO_HPP
